/******
 * p21-47 取地址运算
 */
char *a = "abc";
char b[] = "defg";
char *c[] = {"Hello", "World"};
char d[][4] = {"say", "hi"};

int i2[][3] = {1,2,3,4,5,6,7};
//init
void setup(){
    Serial.begin(9600);
    //access char *a
    int i = 0;
    while(b[i]) {
        Serial.println(b[i++]);
    }

    //access whith pointer
    char *ptrb;
    ptrb = b;

    while(*ptrb) {
        Serial.println(*ptrb ++);
    }
}

//loop
void loop() {
  
}
